
class Orgainize {
  int? orgUserId;
  String? userName;
  String? userLogo;
  int? userStatus;
  String? departmentInfo;

  Orgainize({this.orgUserId, this.userName, this.userLogo, this.userStatus, this.departmentInfo});

  Orgainize.fromJson(Map<String, dynamic> json) {
    if(json["orgUserId"] is int) {
      orgUserId = json["orgUserId"];
    }
    if(json["userName"] is String) {
      userName = json["userName"];
    }
    if(json["userLogo"] is String) {
      userLogo = json["userLogo"];
    }
    if(json["userStatus"] is int) {
      userStatus = json["userStatus"];
    }
    if(json["departmentInfo"] is String) {
      departmentInfo = json["departmentInfo"];
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["orgUserId"] = orgUserId;
    _data["userName"] = userName;
    _data["userLogo"] = userLogo;
    _data["userStatus"] = userStatus;
    _data["departmentInfo"] = departmentInfo;
    return _data;
  }
}